package com.glsc.ngateway.common.api.platform.dto.it.networkassets;

import cn.hutool.core.annotation.Alias;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.glsc.ngateway.common.api.common.dto.BaseEntityDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;

/**
 * 速率异常排除
 * @author xuchang
 */
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@JsonInclude
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
public class RateExceptionExcludeDto extends BaseEntityDto implements Serializable {
    private static final long serialVersionUID = 2561510313988471504L;

    @Alias(value = "主机")
    @ApiModelProperty(value = "主机")
    private String host;

    @Alias(value = "接口名称")
    @ApiModelProperty(value = "接口名称")
    private String ifName;

    @Alias(value = "基准速率")
    @ApiModelProperty(value = "基准速率")
    private String referenceSpeed;

    @Alias(value = "描述")
    @ApiModelProperty(value = "描述")
    private String description;
}
